import store from "@/store";
export  default function installDirective(Vue){
    Vue.directive('login', {
        inserted(el, binding, vnode, oldVnode){
            const isLogin = store.getters.loginStatus;
            if(!isLogin){
                console.log({isLogin})
                el.remove();
            }
        }
    })
}
